package com.ruoyi.his.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * newschedule对象 new_his_schedule
 * 
 * @author ruoyi
 * @date 2025-03-14
 */
public class NewHisSchedule extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 排班ID */
    private Long schedId;

    /** 科室ID */
    @Excel(name = "科室ID")
    private Long deptId;

    /** 医生ID */
    @Excel(name = "医生ID")
    private Long doctId;

    /** 排班日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "排班日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date schedDate;

    private String doctName;

    public Integer getSchedNum() {
        return schedNum;
    }

    public void setSchedNum(Integer schedNum) {
        this.schedNum = schedNum;
    }

    //当日挂号量
    private Integer schedNum;


    public void setSchedId(Long schedId) 
    {
        this.schedId = schedId;
    }

    public Long getSchedId() 
    {
        return schedId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setDoctId(Long doctId) 
    {
        this.doctId = doctId;
    }

    public Long getDoctId() 
    {
        return doctId;
    }
    public void setSchedDate(Date schedDate) 
    {
        this.schedDate = schedDate;
    }

    public Date getSchedDate() 
    {
        return schedDate;
    }
    public String getDoctName()
    {
        return doctName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("schedId", getSchedId())
            .append("deptId", getDeptId())
            .append("doctId", getDoctId())
            .append("doctName", getDoctName())
            .append("schedDate", getSchedDate())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())

            .toString();
    }

    public void setDoctName(String doctName) {
        this.doctName = doctName;
    }
}
